package cn.com.api.service.impl;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiU_follow;
import cn.com.api.mapper.ApiU_followMapper;
import cn.com.api.service.ApiU_followService;
import cn.com.api.service.impl.base.U_followServiceImplBase;

/**
 * 
 **/
@Service
public class ApiU_followServiceImpl extends U_followServiceImplBase implements ApiU_followService {
	@Autowired
	private ApiU_followMapper apiU_followMapper;

	public void deleteU_followByMap(Map param) {
		apiU_followMapper.deleteU_followByMap(param);
	}

	public Integer getFollowCount(Map param) {
		return apiU_followMapper.getFollowCount(param);
	}

	@Override
	public ApiU_follow getFollowByCondition(String userId, String entId) {
		return apiU_followMapper.getFollowByCondition(userId, entId);
	}

}
